//
//  CBDWallpaperDetailSetSheetView.m
//  CBDWallpapar
//
//  Created by Mr. Z. on 2019/7/22.
//  Copyright © 2019年 CBD工作室. All rights reserved.
//

#import "CBDWallpaperDetailSetSheetView.h"
@interface CBDWallpaperDetailSetSheetView()
@property (weak, nonatomic) IBOutlet UIButton *mainScreenBtn;
@property (weak, nonatomic) IBOutlet UIButton *lockScreenBtn;
@property (weak, nonatomic) IBOutlet UIButton *cancelBtn;

@end

@implementation CBDWallpaperDetailSetSheetView

- (void)awakeFromNib {
    [super awakeFromNib];
    _mainScreenBtn.layer.cornerRadius = 5;
    _mainScreenBtn.clipsToBounds = YES;
    
    _lockScreenBtn.layer.cornerRadius = 5;
    _lockScreenBtn.clipsToBounds = YES;
    
    _cancelBtn.layer.cornerRadius = 5;
    _cancelBtn.clipsToBounds = YES;
}

- (IBAction)btnClicked:(UIButton *)sender {
    if (self.setSheetBlock) {
        self.setSheetBlock(sender.tag);
    }
}

@end
